package com.ruoyi.common.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@ApiModel("添加路径信息请求模型")
public class AddRouteInfoReq {

    @NotBlank(message = "路径名称不能为空")
    @ApiModelProperty(value = "路径名称", required = true)
    private String pathName;

    //@NotBlank(message = "路径备注不能为空")
    @ApiModelProperty(value = "备注", required = true)
    private String remark;

    @NotNull(message = "路径类型不能为空")
    @ApiModelProperty(value = "路径类型 1:闭环 2:开环", required = true)
    private Integer type;

    @NotNull(message = "路径坐标集合不能为空")
    @ApiModelProperty(value = "路径坐标集合", required = true)
    private List<AddRouteAxesReq> axes;

    @NotNull(message = "折线不能为空")
    @ApiModelProperty(value = "折线 使用规则见paths详细说明，折线和多边形最大数4个", required = true)
    private String paths;

    @NotNull(message = "地图缩放级别不能为空")
    @ApiModelProperty(value = "地图缩放级别:[1,17]", required = true)
    private Integer zoom;

    @NotNull(message = "地图大小不能为空")
    @ApiModelProperty(value = "地图大小;图片宽度*图片高度。最大值为1024*1024", required = true)
    private String size;

/*    @NotNull(message = "标注不能为空")
    @ApiModelProperty(value = "标注 使用规则见markers详细说明，标注最大数10个", required = true)
    private String markers;

    @NotNull(message = "标签不能为空")
    @ApiModelProperty(value = "标注 使用规则见labels详细说明，标签最大数10个", required = true)
    private String labels;*/

}
